package com.platform.task;

import com.platform.common.utils.rabbit.RabbitUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("weatherTask")
public class WeatherTask {

    @Autowired
    private RabbitUtils rabbitUtils;

    /**
     * 天气实况信息
     */
    public void weatherObserve() {
        rabbitUtils.weiteToWeather();
    }
}
